package org.lewis.common.domain;


/**
 * 标签
 * 
 * @author taiqichao
 * 
 */
public class Tag extends BaseEntity {

	private static final long serialVersionUID = 1L;

	private String name;

	private Long songs;

	private Integer rank;
	
	/**0:风格 1:国家 2:艺术家**/
	private int type;

	public Tag() {
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getSongs() {
		return songs;
	}

	public void setSongs(Long songs) {
		this.songs = songs;
	}

	public Integer getRank() {
		return rank;
	}

	public void setRank(Integer rank) {
		this.rank = rank;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}
	
	public String getTypeStr() {
		if(this.type==0){
			return "风格";
		}else if(this.type==1){
			return "国家";
		}else if(this.type==2){
			return "艺术家";
		}
		return null;
	}

}
